﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using PFSSyncer.ESB;

namespace DCS.BusinessObject
{
    public class PFSStatusCodeComparer : IEqualityComparer<PFSStatusCode_Type>
    {
        public bool Equals(PFSStatusCode_Type x, PFSStatusCode_Type y)
        {
            return x.CategoryCode == y.CategoryCode &&
                x.ClassIdentifier == y.ClassIdentifier &&
                x.PassengerNumber == y.PassengerNumber;
        }

        public int GetHashCode(PFSStatusCode_Type obj)
        {
            return 0;
        }
    }
}
